
package com.aidex.ajreport.domain;

import com.aidex.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@TableName("gaea_report_dashboard")
@ApiModel("报表设计面板")
public class GaeaReportDashboard extends BaseEntity {

    @ApiModelProperty(value = "报表编码")
    private String rcode;

    @ApiModelProperty(value = "设计面板标题")
    private String title;

    @ApiModelProperty(value = "宽度px")
    private Long width;

    @ApiModelProperty(value = "高度px")
    private Long height;

    @ApiModelProperty(value = "背景色")
    private String backgroundColor;

    @ApiModelProperty(value = "背景图片")
    private String backgroundImage;

    @ApiModelProperty(value = "工作台中的辅助线")
    private String presetLine;

    @ApiModelProperty(value = "自动刷新间隔秒，数据字典REFRESH_TYPE")
    private Integer refreshSeconds;

    @ApiModelProperty(value = "排序，降序")
    private Integer sort;

    @TableField(exist = false)
    private List<GaeaReportDashboardWidget> widgets;

}
